package com.example.mes_boot.service;

import com.example.mes_boot.pojo.checkpoint;
import com.example.mes_boot.pojo.factory;
import com.example.mes_boot.pojo.process;
import com.example.mes_boot.pojo.project;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface Indexservice {

     List<factory> findByfactory();
     List<factory> findByfactory(String name);
     List<checkpoint> findBypage(RowBounds rowBounds);

     List<checkpoint> findBy();
     List<checkpoint> findBysele(RowBounds rowBounds,String name,String address,String state);

      List<project> findByproject();

      List<project> findByprojectpage(RowBounds rowBounds);

     List<project> findBylike(String name, String startDate, String endDate, String status);

      List<factory> findByfactorypage(RowBounds rowBounds);

      List<factory> findByload(Integer id);

    List<factory> equipment();

    List<factory> findwl(Integer id, String name, String model, String specification,String code);

    List <factory> find(String code);

    List<process> findByprocess(String name);

    List<process> findByprocesspage(RowBounds rowBounds);
}
